package com.thesis.manage.service.utils;

import com.github.crab2died.converter.ReadConvertible;
import com.github.crab2died.utils.DateUtils;

import java.util.Date;

/**
 * @author php
 * @date 2018/1/26
 */
public class DateConverter implements ReadConvertible {

    @Override
    public Date execRead(String object) {
        return DateUtils.str2Date(object, DateUtils.DATE_FORMAT_DAY_2);
    }
}
